package com.codingapi.tm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author lilinshen
 * @title LCN 分布式事务协调器
 * @description 增加了@EnableDiscoveryClient注解,注册到eureka
 * @date 2018/11/28 17:40
 */
@SpringBootApplication
@EnableDiscoveryClient
public class TxManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(TxManagerApplication.class, args);
        System.out.println("tx-manager事务协调器启动成功！");
    }

}
